import request from '@/utils/request'

/**
 * 保存
 * @param data
 */
export function saveSupplier(entity) {
  return request({
    url: '/user/enterprisePoster/save',
    method: 'post',
    data: entity
  })
}

/**
 * 根据企业id 获取广告图集合
 * @param memberId
 */
export function getByEnterpriseId(enterpriseId) {
  return request({
    url: '/user/enterprisePoster/getByEnterpriseId',
    method: 'get',
    params: { enterpriseId }
  })
}
